package lesson5.example6;

import com.classloading.utils.JavaCompilerUtil;
import com.sun.tools.attach.VirtualMachine;

public class Main {

	public static void main(String[] args) throws Exception {
		VirtualMachine vm = VirtualMachine.attach("19100");
		vm.loadAgent(JavaCompilerUtil.path + "bytecode-examples/bytecode-example-5-04/target/bytecode-example-jar-with-dependencies.jar");
		vm.detach();
	}
}
